﻿/**************************Paging******************************/
function ClientJumpPagesComment(ProductID, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript) {
    RetValue = BLL.CmsBLL.BuildCommentsByProductIDContent(ProductID, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript).value;
    document.getElementById("divCommentByProductIDContent").innerHTML = RetValue;    
}
function ClientJumpPages(ProductID, CateID, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript) {
    RetValue = BLL.CmsBLL.BuildSameProductContent(ProductID, CateID, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript).value;
    document.getElementById("divSameProductContent").innerHTML = RetValue;    
}
function ClientJumpPageSearch(Keyword, SortValue, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID) {
    RetValue = BLL.CmsBLL.BuildSearchProductContent(Keyword, SortValue, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID).value;
    document.getElementById("divSearchProductContent").innerHTML = RetValue;    
}
function ClientJumpPageNewsByCat(CateID, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID) {
    RetValue = BLL.CmsBLL.BuildNewsByCatContent(CateID, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID).value;
    document.getElementById("divnewsbycatcontent").innerHTML = RetValue;    
}
function ClientJumpPageProByCate(CateID, SortValue, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID) {
    RetValue = BLL.CmsBLL.BuildProductByCateContent(CateID, SortValue, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID).value;
    document.getElementById("divPrductByCateContent").innerHTML = RetValue;    
}
function ClientJumpPageProByMultiCate(CateID, SortValue, strDataAlias, MaxItems, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID) {
    RetValue = BLL.CmsBLL.BuildProductByMultiCateContent(CateID, SortValue, strDataAlias, ItemsPerRow, NoOfVisiblePage, CurrentPage, JumpJavaScript, SiteID).value;
    document.getElementById("divPrductByMultiCateContent").innerHTML = RetValue;    
}
